package com.yby.dome6;

public class TextDog {
    public static void main(String[] args) {
        Dog dog = new Dog();
        dog.setName("大哈");
        dog.setColor("黑白相间");
        dog.setKind("哈士奇");
        dog.setWeight(23.1);
        String dogName = dog.getName();
        System.out.println("名字： " + dogName);
        String dogColor = dog.getColor();
        System.out.println("毛色： " + dogColor);
        String dogKind = dog.getKind();
        System.out.println("种类： " + dogKind);
        double dogWeight = dog.getWeight();
        System.out.println("体重： " + dogWeight);
    }
}
